package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
    * 用户重复消费月奖励记录表
    */
public class UserBuyBonus implements Serializable {
    /**
    * buy_bonus_id
    */
    private String buyBonusId;

    /**
    * 月份
    */
    private String bonusMonth;

    /**
    * 计算时间
    */
    private Date calTime;

    private String bonusUserId;

    /**
    * 下属总消费pv
    */
    private BigDecimal buyPv;

    /**
    * 奖金比率
    */
    private BigDecimal bonusRate;

    /**
    * 总奖励pv
    */
    private BigDecimal bonusPv;

    private static final long serialVersionUID = 1L;

    public String getBuyBonusId() {
        return buyBonusId;
    }

    public void setBuyBonusId(String buyBonusId) {
        this.buyBonusId = buyBonusId;
    }

    public String getBonusMonth() {
        return bonusMonth;
    }

    public void setBonusMonth(String bonusMonth) {
        this.bonusMonth = bonusMonth;
    }

    public Date getCalTime() {
        return calTime;
    }

    public void setCalTime(Date calTime) {
        this.calTime = calTime;
    }

    public String getBonusUserId() {
        return bonusUserId;
    }

    public void setBonusUserId(String bonusUserId) {
        this.bonusUserId = bonusUserId;
    }

    public BigDecimal getBuyPv() {
        return buyPv;
    }

    public void setBuyPv(BigDecimal buyPv) {
        this.buyPv = buyPv;
    }

    public BigDecimal getBonusRate() {
        return bonusRate;
    }

    public void setBonusRate(BigDecimal bonusRate) {
        this.bonusRate = bonusRate;
    }

    public BigDecimal getBonusPv() {
        return bonusPv;
    }

    public void setBonusPv(BigDecimal bonusPv) {
        this.bonusPv = bonusPv;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", buyBonusId=").append(buyBonusId);
        sb.append(", bonusMonth=").append(bonusMonth);
        sb.append(", calTime=").append(calTime);
        sb.append(", bonusUserId=").append(bonusUserId);
        sb.append(", buyPv=").append(buyPv);
        sb.append(", bonusRate=").append(bonusRate);
        sb.append(", bonusPv=").append(bonusPv);
        sb.append("]");
        return sb.toString();
    }
}